//
//  IoriHeadFile.h
//  Artemis
//
//  Created by Iori on 3/28/16.
//  Copyright © 2016 Hointe. All rights reserved.
//

#ifndef IoriHeadFile_h
#define IoriHeadFile_h

#import "MessageBox.h"
#import "IoriJsonHelper.h"
#import "YYModel.h"
#import "IHKeyboardAvoiding.h"
#import "AESCrypt.h"
#import "AVHeaderRefresh.h"
#import "AVFooterRefresh.h"
#import "SVPullToRefresh.h"
#import "UIImageView+WebCache.h"
#import "UIColor+Hex.h"

/* 屏幕宽高 */
#define KScreenWidth [UIScreen mainScreen].bounds.size.width
#define KScreenHeight [UIScreen mainScreen].bounds.size.height
//动态获取设备高度
#define DEVICE_HEIGHT [UIScreen mainScreen].bounds.size.height
#define IPHONE_HEIGHT [UIScreen mainScreen].bounds.size.height
#define IPHONE_WIDTH [UIScreen mainScreen].bounds.size.width
#define AutoReSize(w) (((w) *(IPHONE_WIDTH/320.f)))
#define AutoXPosition(w) (IPHONE_WIDTH-AutoReSize(w))/2

#define WS(weakSelf)  __weak __typeof(&*self)weakSelf = self;

/* 数值变量 */
#define TableViewRowHeight 60.0f // tableView RowHight

#endif /* IoriHeadFile_h */
